#include "A.h"
#include "B.h"
void show(A *a){
	a->x();
}
int main(){
	A *a = new A();
	show(a);
	B *b = new B();
	show(b);
	system("pause");
	return 0;
}